package core;

import java.io.InputStream;
import java.io.OutputStream;

public class ParseRequestData<T> {

    private T t;
    private InputStream in;
    private OutputStream out;

    public ParseRequestData() {
    }

    public ParseRequestData(T t, InputStream in, OutputStream out) {
        this.t = t;
        this.in = in;
        this.out = out;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public InputStream getIn() {
        return in;
    }

    public void setIn(InputStream in) {
        this.in = in;
    }

    public OutputStream getOut() {
        return out;
    }

    public void setOut(OutputStream out) {
        this.out = out;
    }

    @Override
    public String toString() {
        return "ParseRequest{" +
                "t=" + t +
                ", in=" + in +
                ", out=" + out +
                '}';
    }
}
